use sds to fetch the client certificate for envoy-ratelimit TLS connections#5988
Conversation
2caf7ca to
f7233d0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5988 +/- ##
==========================================
- Coverage 70.50% 70.47% -0.04%
==========================================
Files 217 219 +2
Lines 36191 36315 +124
==========================================
+ Hits 25517 25593 +76
- Misses 9160 9199 +39
- Partials 1514 1523 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
The serverCertificate IR Certificate struct yaml key should be renamed to certificate.
This rename also affects many existing test files. To make the review easier, I'll raise a follow-up PR to change this to limit the scope of this PR.
03c922b to
d37254f
Compare
bbb281b to
5b43ca5
Compare
|
hey @zhaohuabing can you help understand why default mode implementation doesn't work in gateway namespace mode |
EG mounts the "envoy" secret to the envoy container, which holds the client cert used by envoy to establish TLS connections with the rate limit service. But this secret is not available in the the namespaces except the envoy-gateway-system namespace. This PR loads the "envoy" secret from the envoy -gateway-system and push it to envoy through xDS. |
|
Ah this is for communication b/w envoy and RL service, thanks for the clarification |
|
we may need same thing for wasm cache service. |
Yeah will try to figure out why wasm test fails and address it in a follow up pr. |
2f49823 to
931361b
Compare
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
931361b to
ce04a71
Compare
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
This PR uses SDS to fetch the envoy client certificate, and enables Global ratelimit test for gatewaynamepace mode.